import copy

ll = [9,10]
l1 = (1,2,3,4,5,ll)
l2 = copy.copy(l1)
l3 = copy.deepcopy(l1)
l4 = l1

print(l1,id(l1))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720
print(l2,id(l2))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720
print(l3,id(l3))  # (1, 2, 3, 4, 5, [9, 10]) 2329974382664
print(l4,id(l4))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720

ll[0] = 999
ll.append(666)
print("-" * 30)
print(l1,id(l1))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720
print(l2,id(l2))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720
print(l3,id(l3))  # (1, 2, 3, 4, 5, [9, 10]) 2329974382664
print(l4,id(l4))  # (1, 2, 3, 4, 5, [9, 10]) 2329973751720
# 不可变对象中包含可变数据  浅拷贝退化为
